package com.borball.test.functional;

import org.junit.BeforeClass;

public class BaseFunctionalTestCase {

	@BeforeClass
	public static void startAll() throws Exception {
		reloadSampleData();
	}
	
	protected static void reloadSampleData() throws Exception {
		Fixtures.reloadAllTable(DataSourceFactory.getInstance().getDataSource(), "/data/sample-data.xml");
	}
	
	//@Before
	public void refresh() throws Exception {
		reloadSampleData();
	}
}
